import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';

/**
 * 文章点赞
 */
@Entity('app_article_likes')
export class ArticleLikesEntity extends BaseEntity {
    @Column({ comment: '文章id' })
    articleId: number;

    @Column({ comment: '用户id' })
    userId: number;
}
